package com.javalong.affairs.module.renwujinzhang.model;

import java.io.Serializable;

/**
 * Created by 杨观回 on 2016/2/28 0028.
 */
public class Task implements Serializable {

    private String auditId;
    private int changeNext;
    private String content;
    private int groupSign;
    private int hasNext;
    private int id;
    private int parentId;
    private int praiseRoot;
    private int praiseThis;
    private int receiveId;
    private String receiveName;
    private int receiveTime;
    private int receiveWorkId;
    private int rootId;
    private int sendId;
    private String sendName;
    private int sendTime;
    private int sendWorkId;
    private int siteLevel;
    private int status;
    private String superviseId;
    private int superviseTime;
    private long timeBegin;
    private long timeEnd;
    private String title;
    private int taskId;
    private String type;

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getAuditId() {
        return auditId;
    }

    public void setAuditId(String auditId) {
        this.auditId = auditId;
    }

    public int getChangeNext() {
        return changeNext;
    }

    public void setChangeNext(int changeNext) {
        this.changeNext = changeNext;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getGroupSign() {
        return groupSign;
    }

    public void setGroupSign(int groupSign) {
        this.groupSign = groupSign;
    }

    public int getHasNext() {
        return hasNext;
    }

    public void setHasNext(int hasNext) {
        this.hasNext = hasNext;
    }

    public int getId() {
        if (taskId != 0) {
            return taskId;
        }
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getPraiseRoot() {
        return praiseRoot;
    }

    public void setPraiseRoot(int praiseRoot) {
        this.praiseRoot = praiseRoot;
    }

    public int getPraiseThis() {
        return praiseThis;
    }

    public void setPraiseThis(int praiseThis) {
        this.praiseThis = praiseThis;
    }

    public int getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(int receiveId) {
        this.receiveId = receiveId;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public int getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(int receiveTime) {
        this.receiveTime = receiveTime;
    }

    public int getReceiveWorkId() {
        return receiveWorkId;
    }

    public void setReceiveWorkId(int receiveWorkId) {
        this.receiveWorkId = receiveWorkId;
    }

    public int getRootId() {
        return rootId;
    }

    public void setRootId(int rootId) {
        this.rootId = rootId;
    }

    public int getSendId() {
        return sendId;
    }

    public void setSendId(int sendId) {
        this.sendId = sendId;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public int getSendTime() {
        return sendTime;
    }

    public void setSendTime(int sendTime) {
        this.sendTime = sendTime;
    }

    public int getSendWorkId() {
        return sendWorkId;
    }

    public void setSendWorkId(int sendWorkId) {
        this.sendWorkId = sendWorkId;
    }

    public int getSiteLevel() {
        return siteLevel;
    }

    public void setSiteLevel(int siteLevel) {
        this.siteLevel = siteLevel;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSuperviseId() {
        return superviseId;
    }

    public void setSuperviseId(String superviseId) {
        this.superviseId = superviseId;
    }

    public int getSuperviseTime() {
        return superviseTime;
    }

    public void setSuperviseTime(int superviseTime) {
        this.superviseTime = superviseTime;
    }

    public long getTimeBegin() {
        return timeBegin;
    }

    public void setTimeBegin(long timeBegin) {
        this.timeBegin = timeBegin;
    }

    public long getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(long timeEnd) {
        this.timeEnd = timeEnd;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getRealId() {
        return id;
    }
}
